package cn.itcast.erp.entity.utils;

import org.springframework.stereotype.Component;

@Component
public class ResultAjax {

    private String message;
    private Integer code;
    private Object obj;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    @Override
    public String toString() {
        return "ResultAjax{" +
                "message='" + message + '\'' +
                ", code=" + code +
                ", obj=" + obj +
                '}';
    }
}
